//
//  GGTSingleBusinessModel.m
//  GGT
//
//  Created by 空空空 on 14/11/4.
//  Copyright (c) 2014年 GGT. All rights reserved.
//

#import "GGTSingleBusinessModel.h"

@implementation GGTSingleBusinessModel
- (void)dealloc
{
    [_name release];
    [_address release];
    [_avg_price release];
    [_decoration_score release];
    [_product_score release];
    [_img release];
    [_service_score release];
    [_telephone release];
    [super dealloc];
}
- (id)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        self.name = [dic objectForKey:@"name"];
        self.address = [dic objectForKey:@"address"];
        self.avg_price = [dic objectForKey:@"avg_price"];
        self.decoration_score = [dic objectForKey:@"decoration_score"];
        self.product_score = [dic objectForKey:@"product_score"];
        self.img = [dic objectForKey:@"s_photo_url"];
        self.service_score = [dic objectForKey:@"service_score"];
        self.telephone = [dic objectForKey:@"telephone"];
    }
    return self;
}
@end
